package com.github.catvod.spider;

import android.content.Context;
import android.net.UrlQuerySanitizer;
import android.text.TextUtils;
import com.github.catvod.crawler.Spider;
import com.github.catvod.crawler.SpiderDebug;
import com.github.catvod.spider.merge.L;
import com.github.catvod.spider.merge.fP;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.locks.ReentrantLock;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import okhttp3.Call;
import okhttp3.Response;
import org.json.JSONArray;
import org.json.JSONObject;

public class PushAgent extends Spider {
  private static final Pattern BQ;
  
  private static final Map<String, Map<String, String>> I;
  
  private static long V0 = 0L;
  
  public static Pattern W;
  
  private static String h = "";
  
  private static final Map<String, String> j = new HashMap<String, String>();
  
  private static final ReentrantLock oC;
  
  private static final Map<String, Long> q = new HashMap<String, Long>();
  
  public static String u;
  
  static {
    I = new HashMap<String, Map<String, String>>();
    oC = new ReentrantLock();
    BQ = Pattern.compile("(https://www.aliyundrive.com/s/[^\"]+)");
    W = Pattern.compile("www.aliyundrive.com/s/([^/]+)(/folder/([^/]+))?");
  }
  
  private static HashMap<String, String> BQ() {
    HashMap<Object, Object> hashMap = new HashMap<Object, Object>();
    hashMap.put("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.54 Safari/537.36");
    return (HashMap)hashMap;
  }
  
  private static String I(String paramString1, String paramString2) {
    /* monitor enter TypeReferenceDotClassExpression{ObjectType{com/github/catvod/spider/PushAgent}} */
    try {
      long l = j();
      Map<String, String> map1 = j;
      String str2 = map1.get(paramString1);
      Map<String, Long> map = q;
      Long long_ = map.get(paramString1);
      if (!TextUtils.isEmpty(str2)) {
        long l1 = long_.longValue();
        if (l1 - l > 600L) {
          /* monitor exit TypeReferenceDotClassExpression{ObjectType{com/github/catvod/spider/PushAgent}} */
          return str2;
        } 
      } 
      JSONObject jSONObject2 = new JSONObject();
      this();
      jSONObject2.put("share_id", paramString1);
      jSONObject2.put("share_pwd", paramString2);
      String str1 = jSONObject2.toString();
      JSONObject jSONObject1 = new JSONObject();
      this(V0("https://api.aliyundrive.com/v2/share_link/get_share_token", str1, h()));
      str1 = jSONObject1.getString("share_token");
      map.put(paramString1, Long.valueOf(l + jSONObject1.getLong("expires_in")));
      map1.put(paramString1, str1);
      /* monitor exit TypeReferenceDotClassExpression{ObjectType{com/github/catvod/spider/PushAgent}} */
      return str1;
    } catch (Exception exception) {
      SpiderDebug.log(exception);
      /* monitor exit TypeReferenceDotClassExpression{ObjectType{com/github/catvod/spider/PushAgent}} */
      return "";
    } finally {}
    /* monitor exit TypeReferenceDotClassExpression{ObjectType{com/github/catvod/spider/PushAgent}} */
    throw paramString1;
  }
  
  public static Object[] ProxyMedia(Map<String, String> paramMap) {
    try {
      String str3 = paramMap.get("share_id");
      String str2 = paramMap.get("file_id");
      String str4 = paramMap.get("media_id");
      String str5 = I(str3, "");
      ReentrantLock reentrantLock = oC;
      reentrantLock.lock();
      Map<String, Map<String, String>> map = I;
      String str1 = (String)((Map)map.get(str2)).get(str4);
      UrlQuerySanitizer urlQuerySanitizer = new UrlQuerySanitizer();
      this(str1);
      Long long_ = new Long();
      this(urlQuerySanitizer.getValue("x-oss-expires"));
      if (long_.longValue() - j() <= 60L) {
        q(str3, str5, str2);
        str1 = (String)((Map)map.get(str2)).get(str4);
      } 
      reentrantLock.unlock();
      L.Tw tw = new L.Tw() {
          protected void onFailure(Call param1Call, Exception param1Exception) {}
          
          public String onResponse(Response param1Response) {
            return null;
          }
        };
      super();
      fP.q(fP.j(), str1, null, h(), (L)tw);
      InputStream inputStream = ((Response)tw.getResult()).body().byteStream();
      return new Object[] { Integer.valueOf(200), "video/MP2T", inputStream };
    } catch (Exception exception) {
      SpiderDebug.log(exception);
      return null;
    } 
  }
  
  private static String V0(String paramString1, String paramString2, Map<String, String> paramMap) {
    L.yh yh = new L.yh() {
        protected void onFailure(Call param1Call, Exception param1Exception) {}
        
        public String onResponse(String param1String) {
          return param1String;
        }
      };
    fP.W(fP.j(), paramString1, paramString2, paramMap, (L)yh);
    return (String)yh.getResult();
  }
  
  public static Object[] getFile(Map<String, String> paramMap) {
    try {
      String str = paramMap.get("share_id");
      ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(q(str, I(str, ""), paramMap.get("file_id")).getBytes());
      return new Object[] { Integer.valueOf(200), "application/octet-stream", byteArrayInputStream };
    } catch (Exception exception) {
      SpiderDebug.log(exception);
      return null;
    } 
  }
  
  private static HashMap<String, String> h() {
    HashMap<Object, Object> hashMap = new HashMap<Object, Object>();
    hashMap.put("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.54 Safari/537.36");
    hashMap.put("Referer", "https://www.aliyundrive.com/");
    return (HashMap)hashMap;
  }
  
  protected static long j() {
    return System.currentTimeMillis() / 1000L + 0L;
  }
  
  private static void oC() {
    long l = j();
    if (h.isEmpty() || V0 - l <= 600L)
      try {
        JSONObject jSONObject = new JSONObject();
        this();
        jSONObject.put("refresh_token", u);
        String str = jSONObject.toString();
        HashMap<String, String> hashMap = h();
        jSONObject = new JSONObject();
        this(V0("https://api.aliyundrive.com/token/refresh", str, hashMap));
        StringBuilder stringBuilder = new StringBuilder();
        this();
        stringBuilder.append(jSONObject.getString("token_type"));
        stringBuilder.append(" ");
        stringBuilder.append(jSONObject.getString("access_token"));
        h = stringBuilder.toString();
        V0 = l + jSONObject.getLong("expires_in");
      } catch (Exception exception) {
        SpiderDebug.log(exception);
      }  
  }
  
  private static String q(String paramString1, String paramString2, String paramString3) {
    try {
      JSONObject jSONObject2 = new JSONObject();
      this();
      jSONObject2.put("share_id", paramString1);
      jSONObject2.put("category", "live_transcoding");
      jSONObject2.put("file_id", paramString3);
      jSONObject2.put("template_id", "");
      HashMap<String, String> hashMap = h();
      hashMap.put("x-share-token", paramString2);
      hashMap.put("authorization", h);
      String str2 = jSONObject2.toString();
      JSONObject jSONObject1 = new JSONObject();
      this(V0("https://api.aliyundrive.com/v2/file/get_share_link_video_preview_play_info", str2, hashMap));
      ArrayList<String> arrayList = new ArrayList();
      this();
      arrayList.add("FHD");
      arrayList.add("HD");
      arrayList.add("SD");
      JSONArray jSONArray = jSONObject1.getJSONObject("video_preview_play_info").getJSONArray("live_transcoding_task_list");
      Iterator<String> iterator = arrayList.iterator();
      String str1 = "";
      label31: while (true) {
        String str4;
        boolean bool = iterator.hasNext();
        int i = 0;
        int j = 0;
        if (bool) {
          String str = iterator.next();
          if (str1.isEmpty()) {
            while (true) {
              if (i < jSONArray.length()) {
                JSONObject jSONObject = jSONArray.getJSONObject(i);
                if (jSONObject.getString("template_id").equals(str)) {
                  str4 = jSONObject.getString("url");
                  continue label31;
                } 
                i++;
              } 
            } 
            break;
          } 
        } 
        String str5 = str4;
        if (TextUtils.isEmpty(str4))
          str5 = jSONArray.getJSONObject(0).getString("url"); 
        HashMap<Object, Object> hashMap1 = new HashMap<Object, Object>();
        this();
        fP.i4(str5, h(), hashMap1);
        String str6 = fP.I(hashMap1);
        String str3 = fP.oq(str6, h());
        StringBuilder stringBuilder = new StringBuilder();
        this();
        stringBuilder.append(str6.substring(0, str6.lastIndexOf("/")));
        stringBuilder.append("/");
        String str7 = stringBuilder.toString();
        ArrayList<String> arrayList1 = new ArrayList();
        this();
        HashMap<Object, Object> hashMap2 = new HashMap<Object, Object>();
        this();
        String[] arrayOfString = str3.split("\n");
        int m = arrayOfString.length;
        int k = 0;
        i = j;
        while (i < m) {
          String str8;
          String str9 = arrayOfString[i];
          j = k;
          str3 = str9;
          if (str9.contains("x-oss-expires")) {
            j = k + 1;
            StringBuilder stringBuilder2 = new StringBuilder();
            this();
            stringBuilder2.append(str7);
            stringBuilder2.append(str9);
            String str = stringBuilder2.toString();
            StringBuilder stringBuilder3 = new StringBuilder();
            this();
            stringBuilder3.append("");
            stringBuilder3.append(j);
            hashMap2.put(stringBuilder3.toString(), str);
            StringBuilder stringBuilder1 = new StringBuilder();
            this();
            stringBuilder1.append(Proxy.localProxyUrl());
            stringBuilder1.append("?do=push&type=media&share_id=");
            stringBuilder1.append(paramString1);
            stringBuilder1.append("&file_id=");
            stringBuilder1.append(paramString3);
            stringBuilder1.append("&media_id=");
            stringBuilder1.append(j);
            str8 = stringBuilder1.toString();
          } 
          arrayList1.add(str8);
          i++;
          k = j;
        } 
        I.put(paramString3, hashMap2);
        return TextUtils.join("\n", arrayList1);
      } 
    } catch (Exception exception) {
      SpiderDebug.log(exception);
      return "";
    } 
  }
  
  public static Object[] vod(Map<String, String> paramMap) {
    String str = paramMap.get("type");
    return str.equals("m3u8") ? getFile(paramMap) : (str.equals("media") ? ProxyMedia(paramMap) : null);
  }
  
  public String detailContent(List<String> paramList) {
    // Byte code:
    //   0: ldc ''
    //   2: astore #5
    //   4: aload #5
    //   6: astore #4
    //   8: aload_1
    //   9: iconst_0
    //   10: invokeinterface get : (I)Ljava/lang/Object;
    //   15: checkcast java/lang/String
    //   18: astore #9
    //   20: aload #5
    //   22: astore #4
    //   24: getstatic com/github/catvod/spider/PushAgent.W : Ljava/util/regex/Pattern;
    //   27: astore #6
    //   29: aload #5
    //   31: astore #4
    //   33: getstatic com/github/catvod/spider/PushAgent.BQ : Ljava/util/regex/Pattern;
    //   36: aload #9
    //   38: invokevirtual matcher : (Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
    //   41: astore #10
    //   43: aload #5
    //   45: astore #4
    //   47: aload #6
    //   49: aload #9
    //   51: invokevirtual matcher : (Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
    //   54: astore #11
    //   56: aload #5
    //   58: astore #4
    //   60: aload #9
    //   62: invokestatic oC : (Ljava/lang/String;)Z
    //   65: istore_3
    //   66: ldc_w 'vod_remarks'
    //   69: astore #7
    //   71: ldc_w 'vod_area'
    //   74: astore #6
    //   76: iload_3
    //   77: ifeq -> 450
    //   80: aload #5
    //   82: astore #4
    //   84: aload #9
    //   86: ldc_w 'qq.com'
    //   89: invokevirtual contains : (Ljava/lang/CharSequence;)Z
    //   92: ifne -> 450
    //   95: aload #5
    //   97: astore #4
    //   99: aload #9
    //   101: ldc_w 'mgtv.com'
    //   104: invokevirtual contains : (Ljava/lang/CharSequence;)Z
    //   107: ifne -> 450
    //   110: aload #5
    //   112: astore #4
    //   114: aload #9
    //   116: aconst_null
    //   117: invokestatic oq : (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
    //   120: invokestatic h : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/HZ;
    //   123: ldc_w 'head > title'
    //   126: invokevirtual Pi : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/Dv;
    //   129: invokevirtual I : ()Ljava/lang/String;
    //   132: astore #8
    //   134: aload #5
    //   136: astore #4
    //   138: new org/json/JSONObject
    //   141: astore_1
    //   142: aload #5
    //   144: astore #4
    //   146: aload_1
    //   147: invokespecial <init> : ()V
    //   150: aload #5
    //   152: astore #4
    //   154: new org/json/JSONArray
    //   157: astore #6
    //   159: aload #5
    //   161: astore #4
    //   163: aload #6
    //   165: invokespecial <init> : ()V
    //   168: aload #5
    //   170: astore #4
    //   172: new org/json/JSONObject
    //   175: astore #7
    //   177: aload #5
    //   179: astore #4
    //   181: aload #7
    //   183: invokespecial <init> : ()V
    //   186: aload #5
    //   188: astore #4
    //   190: aload #7
    //   192: ldc_w 'vod_id'
    //   195: aload #9
    //   197: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   200: pop
    //   201: aload #5
    //   203: astore #4
    //   205: aload #7
    //   207: ldc_w 'vod_name'
    //   210: aload #8
    //   212: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   215: pop
    //   216: aload #5
    //   218: astore #4
    //   220: aload #7
    //   222: ldc_w 'vod_pic'
    //   225: ldc_w 'https://img.zcool.cn/community/0123545c74c5aea801213f261297df.png'
    //   228: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   231: pop
    //   232: aload #5
    //   234: astore #4
    //   236: aload #7
    //   238: ldc_w 'type_name'
    //   241: ldc_w '官源'
    //   244: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   247: pop
    //   248: aload #5
    //   250: astore #4
    //   252: aload #7
    //   254: ldc_w 'vod_year'
    //   257: ldc ''
    //   259: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   262: pop
    //   263: aload #5
    //   265: astore #4
    //   267: aload #7
    //   269: ldc_w 'vod_area'
    //   272: ldc ''
    //   274: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   277: pop
    //   278: aload #5
    //   280: astore #4
    //   282: aload #7
    //   284: ldc_w 'vod_remarks'
    //   287: ldc ''
    //   289: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   292: pop
    //   293: aload #5
    //   295: astore #4
    //   297: aload #7
    //   299: ldc_w 'vod_actor'
    //   302: ldc ''
    //   304: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   307: pop
    //   308: aload #5
    //   310: astore #4
    //   312: aload #7
    //   314: ldc_w 'vod_director'
    //   317: ldc ''
    //   319: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   322: pop
    //   323: aload #5
    //   325: astore #4
    //   327: aload #7
    //   329: ldc_w 'vod_content'
    //   332: ldc ''
    //   334: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   337: pop
    //   338: aload #5
    //   340: astore #4
    //   342: aload #7
    //   344: ldc_w 'vod_play_from'
    //   347: ldc_w 'jx'
    //   350: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   353: pop
    //   354: aload #5
    //   356: astore #4
    //   358: new java/lang/StringBuilder
    //   361: astore #8
    //   363: aload #5
    //   365: astore #4
    //   367: aload #8
    //   369: invokespecial <init> : ()V
    //   372: aload #5
    //   374: astore #4
    //   376: aload #8
    //   378: ldc_w '立即播放$'
    //   381: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   384: pop
    //   385: aload #5
    //   387: astore #4
    //   389: aload #8
    //   391: aload #9
    //   393: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   396: pop
    //   397: aload #5
    //   399: astore #4
    //   401: aload #7
    //   403: ldc_w 'vod_play_url'
    //   406: aload #8
    //   408: invokevirtual toString : ()Ljava/lang/String;
    //   411: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   414: pop
    //   415: aload #5
    //   417: astore #4
    //   419: aload #6
    //   421: aload #7
    //   423: invokevirtual put : (Ljava/lang/Object;)Lorg/json/JSONArray;
    //   426: pop
    //   427: aload #5
    //   429: astore #4
    //   431: aload_1
    //   432: ldc_w 'list'
    //   435: aload #6
    //   437: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   440: pop
    //   441: aload #5
    //   443: astore #4
    //   445: aload_1
    //   446: invokevirtual toString : ()Ljava/lang/String;
    //   449: areturn
    //   450: aload #5
    //   452: astore #4
    //   454: aload #9
    //   456: invokestatic oC : (Ljava/lang/String;)Z
    //   459: ifeq -> 1129
    //   462: aload #5
    //   464: astore #4
    //   466: aload #9
    //   468: ldc_w 'qq.com'
    //   471: invokevirtual contains : (Ljava/lang/CharSequence;)Z
    //   474: ifeq -> 1129
    //   477: aload #5
    //   479: astore #4
    //   481: new java/util/ArrayList
    //   484: astore #14
    //   486: aload #5
    //   488: astore #4
    //   490: aload #14
    //   492: invokespecial <init> : ()V
    //   495: aload #5
    //   497: astore #4
    //   499: new org/json/JSONObject
    //   502: astore #11
    //   504: aload #5
    //   506: astore #4
    //   508: aload #11
    //   510: invokespecial <init> : ()V
    //   513: aload #5
    //   515: astore #4
    //   517: new org/json/JSONArray
    //   520: astore #10
    //   522: aload #5
    //   524: astore #4
    //   526: aload #10
    //   528: invokespecial <init> : ()V
    //   531: aload #5
    //   533: astore #4
    //   535: new org/json/JSONObject
    //   538: astore #12
    //   540: aload #5
    //   542: astore #4
    //   544: aload #12
    //   546: invokespecial <init> : ()V
    //   549: aload #5
    //   551: astore #4
    //   553: aload #9
    //   555: invokestatic BQ : ()Ljava/util/HashMap;
    //   558: invokestatic oq : (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
    //   561: invokestatic h : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/HZ;
    //   564: astore_1
    //   565: aload #5
    //   567: astore #4
    //   569: aload_1
    //   570: ldc_w 'head > title'
    //   573: invokevirtual Pi : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/Dv;
    //   576: invokevirtual I : ()Ljava/lang/String;
    //   579: astore #13
    //   581: aload #5
    //   583: astore #4
    //   585: aload_1
    //   586: ldc_w 'div.episode-list-rect__item'
    //   589: invokevirtual Pi : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/Dv;
    //   592: astore #8
    //   594: aload #5
    //   596: astore #4
    //   598: aload #8
    //   600: invokevirtual isEmpty : ()Z
    //   603: ifne -> 867
    //   606: iconst_0
    //   607: istore_2
    //   608: aload #5
    //   610: astore_1
    //   611: aload_1
    //   612: astore #4
    //   614: iload_2
    //   615: aload #8
    //   617: invokevirtual size : ()I
    //   620: if_icmpge -> 837
    //   623: aload_1
    //   624: astore #4
    //   626: aload #8
    //   628: iload_2
    //   629: invokevirtual get : (I)Ljava/lang/Object;
    //   632: checkcast com/github/catvod/spider/merge/Lm
    //   635: astore #5
    //   637: aload_1
    //   638: astore #4
    //   640: aload #5
    //   642: ldc_w 'div'
    //   645: invokevirtual Pi : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/Dv;
    //   648: ldc_w 'data-vid'
    //   651: invokevirtual h : (Ljava/lang/String;)Ljava/lang/String;
    //   654: astore #15
    //   656: aload_1
    //   657: astore #4
    //   659: aload #5
    //   661: ldc_w 'div'
    //   664: invokevirtual Pi : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/Dv;
    //   667: ldc_w 'data-cid'
    //   670: invokevirtual h : (Ljava/lang/String;)Ljava/lang/String;
    //   673: astore #16
    //   675: aload_1
    //   676: astore #4
    //   678: new java/lang/StringBuilder
    //   681: dup
    //   682: invokespecial <init> : ()V
    //   685: astore #17
    //   687: aload_1
    //   688: astore #4
    //   690: aload #4
    //   692: astore_1
    //   693: aload #17
    //   695: ldc_w 'https://v.qq.com/x/cover/'
    //   698: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   701: pop
    //   702: aload #4
    //   704: astore_1
    //   705: aload #17
    //   707: aload #16
    //   709: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   712: pop
    //   713: aload #4
    //   715: astore_1
    //   716: aload #17
    //   718: ldc_w '/'
    //   721: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   724: pop
    //   725: aload #4
    //   727: astore_1
    //   728: aload #17
    //   730: aload #15
    //   732: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   735: pop
    //   736: aload #4
    //   738: astore_1
    //   739: aload #17
    //   741: invokevirtual toString : ()Ljava/lang/String;
    //   744: astore #15
    //   746: aload #4
    //   748: astore_1
    //   749: aload #5
    //   751: ldc_w 'div span'
    //   754: invokevirtual Pi : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/Dv;
    //   757: invokevirtual I : ()Ljava/lang/String;
    //   760: astore #16
    //   762: aload #4
    //   764: astore_1
    //   765: new java/lang/StringBuilder
    //   768: astore #5
    //   770: aload #4
    //   772: astore_1
    //   773: aload #5
    //   775: invokespecial <init> : ()V
    //   778: aload #4
    //   780: astore_1
    //   781: aload #5
    //   783: aload #16
    //   785: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   788: pop
    //   789: aload #4
    //   791: astore_1
    //   792: aload #5
    //   794: ldc_w '$'
    //   797: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   800: pop
    //   801: aload #4
    //   803: astore_1
    //   804: aload #5
    //   806: aload #15
    //   808: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   811: pop
    //   812: aload #4
    //   814: astore_1
    //   815: aload #14
    //   817: aload #5
    //   819: invokevirtual toString : ()Ljava/lang/String;
    //   822: invokeinterface add : (Ljava/lang/Object;)Z
    //   827: pop
    //   828: iinc #2, 1
    //   831: aload #4
    //   833: astore_1
    //   834: goto -> 611
    //   837: aload_1
    //   838: astore #4
    //   840: aload #7
    //   842: astore #5
    //   844: aload #4
    //   846: astore_1
    //   847: aload #12
    //   849: ldc_w 'vod_play_url'
    //   852: ldc_w '#'
    //   855: aload #14
    //   857: invokestatic join : (Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
    //   860: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   863: pop
    //   864: goto -> 937
    //   867: ldc ''
    //   869: astore #4
    //   871: ldc_w 'vod_remarks'
    //   874: astore #5
    //   876: ldc_w 'vod_area'
    //   879: astore #6
    //   881: aload #4
    //   883: astore_1
    //   884: new java/lang/StringBuilder
    //   887: astore #7
    //   889: aload #4
    //   891: astore_1
    //   892: aload #7
    //   894: invokespecial <init> : ()V
    //   897: aload #4
    //   899: astore_1
    //   900: aload #7
    //   902: ldc_w '立即播放$'
    //   905: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   908: pop
    //   909: aload #4
    //   911: astore_1
    //   912: aload #7
    //   914: aload #9
    //   916: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   919: pop
    //   920: aload #4
    //   922: astore_1
    //   923: aload #12
    //   925: ldc_w 'vod_play_url'
    //   928: aload #7
    //   930: invokevirtual toString : ()Ljava/lang/String;
    //   933: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   936: pop
    //   937: aload #4
    //   939: astore_1
    //   940: aload #12
    //   942: ldc_w 'vod_id'
    //   945: aload #9
    //   947: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   950: pop
    //   951: aload #4
    //   953: astore_1
    //   954: aload #12
    //   956: ldc_w 'vod_name'
    //   959: aload #13
    //   961: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   964: pop
    //   965: aload #4
    //   967: astore_1
    //   968: aload #12
    //   970: ldc_w 'vod_pic'
    //   973: ldc_w 'https://img2.baidu.com/it/u=2655029475,2190949369&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=593'
    //   976: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   979: pop
    //   980: aload #4
    //   982: astore_1
    //   983: aload #12
    //   985: ldc_w 'type_name'
    //   988: ldc_w '腾讯TV'
    //   991: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   994: pop
    //   995: aload #4
    //   997: astore_1
    //   998: aload_1
    //   999: astore #4
    //   1001: aload #12
    //   1003: ldc_w 'vod_year'
    //   1006: aload_1
    //   1007: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1010: pop
    //   1011: aload_1
    //   1012: astore #4
    //   1014: aload #12
    //   1016: aload #6
    //   1018: aload_1
    //   1019: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1022: pop
    //   1023: aload_1
    //   1024: astore #4
    //   1026: aload #12
    //   1028: aload #5
    //   1030: aload_1
    //   1031: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1034: pop
    //   1035: aload_1
    //   1036: astore #4
    //   1038: aload #12
    //   1040: ldc_w 'vod_actor'
    //   1043: aload_1
    //   1044: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1047: pop
    //   1048: aload_1
    //   1049: astore #4
    //   1051: aload #12
    //   1053: ldc_w 'vod_director'
    //   1056: aload_1
    //   1057: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1060: pop
    //   1061: aload_1
    //   1062: astore #4
    //   1064: aload #12
    //   1066: ldc_w 'vod_content'
    //   1069: aload #9
    //   1071: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1074: pop
    //   1075: aload_1
    //   1076: astore #4
    //   1078: aload #12
    //   1080: ldc_w 'vod_play_from'
    //   1083: ldc_w 'jx'
    //   1086: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1089: pop
    //   1090: aload_1
    //   1091: astore #4
    //   1093: aload #10
    //   1095: aload #12
    //   1097: invokevirtual put : (Ljava/lang/Object;)Lorg/json/JSONArray;
    //   1100: pop
    //   1101: aload_1
    //   1102: astore #4
    //   1104: aload #11
    //   1106: ldc_w 'list'
    //   1109: aload #10
    //   1111: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1114: pop
    //   1115: aload_1
    //   1116: astore #4
    //   1118: aload #11
    //   1120: invokevirtual toString : ()Ljava/lang/String;
    //   1123: areturn
    //   1124: astore #4
    //   1126: goto -> 2896
    //   1129: ldc_w 'list'
    //   1132: astore #8
    //   1134: aload #5
    //   1136: astore #4
    //   1138: aload #9
    //   1140: invokestatic oC : (Ljava/lang/String;)Z
    //   1143: ifeq -> 1973
    //   1146: aload #5
    //   1148: astore #4
    //   1150: aload #9
    //   1152: ldc_w 'mgtv.com'
    //   1155: invokevirtual contains : (Ljava/lang/CharSequence;)Z
    //   1158: ifeq -> 1970
    //   1161: aload #5
    //   1163: astore #4
    //   1165: new java/util/ArrayList
    //   1168: astore #13
    //   1170: aload #5
    //   1172: astore #4
    //   1174: aload #13
    //   1176: invokespecial <init> : ()V
    //   1179: aload #5
    //   1181: astore #4
    //   1183: new org/json/JSONObject
    //   1186: astore #10
    //   1188: aload #5
    //   1190: astore #4
    //   1192: aload #10
    //   1194: invokespecial <init> : ()V
    //   1197: aload #5
    //   1199: astore #4
    //   1201: new org/json/JSONArray
    //   1204: astore #11
    //   1206: aload #5
    //   1208: astore #4
    //   1210: aload #11
    //   1212: invokespecial <init> : ()V
    //   1215: aload #5
    //   1217: astore #4
    //   1219: new org/json/JSONObject
    //   1222: astore #12
    //   1224: aload #5
    //   1226: astore #4
    //   1228: aload #12
    //   1230: invokespecial <init> : ()V
    //   1233: aload #5
    //   1235: astore #4
    //   1237: ldc_w 'https://\S+mgtv.com/b/(\d+)/(\d+).html.*'
    //   1240: invokestatic compile : (Ljava/lang/String;)Ljava/util/regex/Pattern;
    //   1243: aload #9
    //   1245: invokevirtual matcher : (Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
    //   1248: astore #14
    //   1250: aload #5
    //   1252: astore #4
    //   1254: aload #14
    //   1256: invokevirtual find : ()Z
    //   1259: ifeq -> 1759
    //   1262: aload #5
    //   1264: astore #4
    //   1266: new java/lang/StringBuilder
    //   1269: astore_1
    //   1270: aload #5
    //   1272: astore #4
    //   1274: aload_1
    //   1275: invokespecial <init> : ()V
    //   1278: aload #5
    //   1280: astore #4
    //   1282: aload_1
    //   1283: ldc_w 'https://pcweb.api.mgtv.com/episode/list?video_id='
    //   1286: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1289: pop
    //   1290: aload #5
    //   1292: astore #4
    //   1294: aload_1
    //   1295: aload #14
    //   1297: iconst_2
    //   1298: invokevirtual group : (I)Ljava/lang/String;
    //   1301: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1304: pop
    //   1305: aload #5
    //   1307: astore #4
    //   1309: aload_1
    //   1310: invokevirtual toString : ()Ljava/lang/String;
    //   1313: astore #6
    //   1315: aload #5
    //   1317: astore #4
    //   1319: new org/json/JSONObject
    //   1322: astore_1
    //   1323: aload #5
    //   1325: astore #4
    //   1327: aload_1
    //   1328: aload #6
    //   1330: invokestatic h : ()Ljava/util/HashMap;
    //   1333: invokestatic oq : (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
    //   1336: invokespecial <init> : (Ljava/lang/String;)V
    //   1339: aload #5
    //   1341: astore #4
    //   1343: aload_1
    //   1344: ldc_w 'data'
    //   1347: invokevirtual getJSONObject : (Ljava/lang/String;)Lorg/json/JSONObject;
    //   1350: ldc_w 'info'
    //   1353: invokevirtual getJSONObject : (Ljava/lang/String;)Lorg/json/JSONObject;
    //   1356: ldc_w 'title'
    //   1359: invokevirtual getString : (Ljava/lang/String;)Ljava/lang/String;
    //   1362: astore #7
    //   1364: aload #5
    //   1366: astore #4
    //   1368: new org/json/JSONArray
    //   1371: astore #6
    //   1373: aload #5
    //   1375: astore #4
    //   1377: aload #6
    //   1379: aload_1
    //   1380: ldc_w 'data'
    //   1383: invokevirtual getJSONObject : (Ljava/lang/String;)Lorg/json/JSONObject;
    //   1386: ldc_w 'list'
    //   1389: invokevirtual getString : (Ljava/lang/String;)Ljava/lang/String;
    //   1392: invokespecial <init> : (Ljava/lang/String;)V
    //   1395: aload #5
    //   1397: astore #4
    //   1399: aload #6
    //   1401: invokevirtual length : ()I
    //   1404: ifle -> 1687
    //   1407: iconst_0
    //   1408: istore_2
    //   1409: aload #8
    //   1411: astore_1
    //   1412: aload #5
    //   1414: astore #4
    //   1416: iload_2
    //   1417: aload #6
    //   1419: invokevirtual length : ()I
    //   1422: if_icmpge -> 1663
    //   1425: aload #5
    //   1427: astore #4
    //   1429: aload #6
    //   1431: iload_2
    //   1432: invokevirtual getJSONObject : (I)Lorg/json/JSONObject;
    //   1435: astore #15
    //   1437: aload #5
    //   1439: astore #4
    //   1441: aload #15
    //   1443: ldc_w 'isIntact'
    //   1446: invokevirtual getString : (Ljava/lang/String;)Ljava/lang/String;
    //   1449: ldc_w '1'
    //   1452: invokevirtual equals : (Ljava/lang/Object;)Z
    //   1455: ifeq -> 1657
    //   1458: aload #5
    //   1460: astore #4
    //   1462: aload #15
    //   1464: ldc_w 't4'
    //   1467: invokevirtual getString : (Ljava/lang/String;)Ljava/lang/String;
    //   1470: astore #8
    //   1472: aload #5
    //   1474: astore #4
    //   1476: aload #15
    //   1478: ldc_w 'video_id'
    //   1481: invokevirtual getString : (Ljava/lang/String;)Ljava/lang/String;
    //   1484: astore #16
    //   1486: aload #5
    //   1488: astore #4
    //   1490: new java/lang/StringBuilder
    //   1493: astore #15
    //   1495: aload #5
    //   1497: astore #4
    //   1499: aload #15
    //   1501: invokespecial <init> : ()V
    //   1504: aload #5
    //   1506: astore #4
    //   1508: aload #15
    //   1510: ldc_w 'https://www.mgtv.com/b/'
    //   1513: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1516: pop
    //   1517: aload #5
    //   1519: astore #4
    //   1521: aload #15
    //   1523: aload #14
    //   1525: iconst_1
    //   1526: invokevirtual group : (I)Ljava/lang/String;
    //   1529: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1532: pop
    //   1533: aload #5
    //   1535: astore #4
    //   1537: aload #15
    //   1539: ldc_w '/'
    //   1542: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1545: pop
    //   1546: aload #5
    //   1548: astore #4
    //   1550: aload #15
    //   1552: aload #16
    //   1554: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1557: pop
    //   1558: aload #5
    //   1560: astore #4
    //   1562: aload #15
    //   1564: ldc_w '.html'
    //   1567: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1570: pop
    //   1571: aload #5
    //   1573: astore #4
    //   1575: aload #15
    //   1577: invokevirtual toString : ()Ljava/lang/String;
    //   1580: astore #15
    //   1582: aload #5
    //   1584: astore #4
    //   1586: new java/lang/StringBuilder
    //   1589: astore #16
    //   1591: aload #5
    //   1593: astore #4
    //   1595: aload #16
    //   1597: invokespecial <init> : ()V
    //   1600: aload #5
    //   1602: astore #4
    //   1604: aload #16
    //   1606: aload #8
    //   1608: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1611: pop
    //   1612: aload #5
    //   1614: astore #4
    //   1616: aload #16
    //   1618: ldc_w '$'
    //   1621: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1624: pop
    //   1625: aload #5
    //   1627: astore #4
    //   1629: aload #16
    //   1631: aload #15
    //   1633: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1636: pop
    //   1637: aload #5
    //   1639: astore #4
    //   1641: aload #13
    //   1643: aload #16
    //   1645: invokevirtual toString : ()Ljava/lang/String;
    //   1648: invokeinterface add : (Ljava/lang/Object;)Z
    //   1653: pop
    //   1654: goto -> 1657
    //   1657: iinc #2, 1
    //   1660: goto -> 1412
    //   1663: aload #5
    //   1665: astore #4
    //   1667: aload #12
    //   1669: ldc_w 'vod_play_url'
    //   1672: ldc_w '#'
    //   1675: aload #13
    //   1677: invokestatic join : (Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
    //   1680: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1683: pop
    //   1684: goto -> 1752
    //   1687: ldc_w 'list'
    //   1690: astore_1
    //   1691: aload #5
    //   1693: astore #4
    //   1695: new java/lang/StringBuilder
    //   1698: astore #6
    //   1700: aload #5
    //   1702: astore #4
    //   1704: aload #6
    //   1706: invokespecial <init> : ()V
    //   1709: aload #5
    //   1711: astore #4
    //   1713: aload #6
    //   1715: ldc_w '立即播放$'
    //   1718: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1721: pop
    //   1722: aload #5
    //   1724: astore #4
    //   1726: aload #6
    //   1728: aload #9
    //   1730: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1733: pop
    //   1734: aload #5
    //   1736: astore #4
    //   1738: aload #12
    //   1740: ldc_w 'vod_play_url'
    //   1743: aload #6
    //   1745: invokevirtual toString : ()Ljava/lang/String;
    //   1748: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1751: pop
    //   1752: aload #7
    //   1754: astore #6
    //   1756: goto -> 1767
    //   1759: ldc_w 'list'
    //   1762: astore_1
    //   1763: ldc ''
    //   1765: astore #6
    //   1767: aload #5
    //   1769: astore #4
    //   1771: aload #12
    //   1773: ldc_w 'vod_id'
    //   1776: aload #9
    //   1778: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1781: pop
    //   1782: aload #5
    //   1784: astore #4
    //   1786: aload #12
    //   1788: ldc_w 'vod_name'
    //   1791: aload #6
    //   1793: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1796: pop
    //   1797: aload #5
    //   1799: astore #4
    //   1801: aload #12
    //   1803: ldc_w 'vod_pic'
    //   1806: ldc_w 'https://img2.baidu.com/it/u=2562822927,704100654&fm=253&fmt=auto&app=138&f=JPEG?w=600&h=380'
    //   1809: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1812: pop
    //   1813: aload #5
    //   1815: astore #4
    //   1817: aload #12
    //   1819: ldc_w 'type_name'
    //   1822: ldc_w '芒果TV'
    //   1825: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1828: pop
    //   1829: aload #5
    //   1831: astore #4
    //   1833: aload #12
    //   1835: ldc_w 'vod_year'
    //   1838: ldc ''
    //   1840: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1843: pop
    //   1844: aload #5
    //   1846: astore #4
    //   1848: aload #12
    //   1850: ldc_w 'vod_area'
    //   1853: ldc ''
    //   1855: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1858: pop
    //   1859: aload #5
    //   1861: astore #4
    //   1863: aload #12
    //   1865: ldc_w 'vod_remarks'
    //   1868: ldc ''
    //   1870: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1873: pop
    //   1874: aload #5
    //   1876: astore #4
    //   1878: aload #12
    //   1880: ldc_w 'vod_actor'
    //   1883: ldc ''
    //   1885: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1888: pop
    //   1889: aload #5
    //   1891: astore #4
    //   1893: aload #12
    //   1895: ldc_w 'vod_director'
    //   1898: ldc ''
    //   1900: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1903: pop
    //   1904: aload #5
    //   1906: astore #4
    //   1908: aload #12
    //   1910: ldc_w 'vod_content'
    //   1913: aload #9
    //   1915: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1918: pop
    //   1919: aload #5
    //   1921: astore #4
    //   1923: aload #12
    //   1925: ldc_w 'vod_play_from'
    //   1928: ldc_w 'jx'
    //   1931: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1934: pop
    //   1935: aload #5
    //   1937: astore #4
    //   1939: aload #11
    //   1941: aload #12
    //   1943: invokevirtual put : (Ljava/lang/Object;)Lorg/json/JSONArray;
    //   1946: pop
    //   1947: aload #5
    //   1949: astore #4
    //   1951: aload #10
    //   1953: aload_1
    //   1954: aload #11
    //   1956: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   1959: pop
    //   1960: aload #5
    //   1962: astore #4
    //   1964: aload #10
    //   1966: invokevirtual toString : ()Ljava/lang/String;
    //   1969: areturn
    //   1970: goto -> 1973
    //   1973: aload #5
    //   1975: astore #4
    //   1977: aload #9
    //   1979: invokestatic I : (Ljava/lang/String;)Z
    //   1982: ifeq -> 2211
    //   1985: aload #5
    //   1987: astore #4
    //   1989: new org/json/JSONObject
    //   1992: astore #8
    //   1994: aload #5
    //   1996: astore #4
    //   1998: aload #8
    //   2000: invokespecial <init> : ()V
    //   2003: aload #5
    //   2005: astore #4
    //   2007: new org/json/JSONArray
    //   2010: astore_1
    //   2011: aload #5
    //   2013: astore #4
    //   2015: aload_1
    //   2016: invokespecial <init> : ()V
    //   2019: aload #5
    //   2021: astore #4
    //   2023: new org/json/JSONObject
    //   2026: astore #6
    //   2028: aload #5
    //   2030: astore #4
    //   2032: aload #6
    //   2034: invokespecial <init> : ()V
    //   2037: aload #5
    //   2039: astore #4
    //   2041: aload #6
    //   2043: ldc_w 'vod_id'
    //   2046: aload #9
    //   2048: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2051: pop
    //   2052: aload #5
    //   2054: astore #4
    //   2056: aload #6
    //   2058: ldc_w 'vod_name'
    //   2061: aload #9
    //   2063: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2066: pop
    //   2067: aload #5
    //   2069: astore #4
    //   2071: aload #6
    //   2073: ldc_w 'vod_pic'
    //   2076: ldc_w 'https://img.zcool.cn/community/0123545c74c5aea801213f261297df.png'
    //   2079: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2082: pop
    //   2083: aload #5
    //   2085: astore #4
    //   2087: aload #6
    //   2089: ldc_w 'type_name'
    //   2092: ldc_w '直连'
    //   2095: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2098: pop
    //   2099: aload #5
    //   2101: astore #4
    //   2103: aload #6
    //   2105: ldc_w 'vod_play_from'
    //   2108: ldc_w 'player'
    //   2111: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2114: pop
    //   2115: aload #5
    //   2117: astore #4
    //   2119: new java/lang/StringBuilder
    //   2122: astore #7
    //   2124: aload #5
    //   2126: astore #4
    //   2128: aload #7
    //   2130: invokespecial <init> : ()V
    //   2133: aload #5
    //   2135: astore #4
    //   2137: aload #7
    //   2139: ldc_w '立即播放$'
    //   2142: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2145: pop
    //   2146: aload #5
    //   2148: astore #4
    //   2150: aload #7
    //   2152: aload #9
    //   2154: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2157: pop
    //   2158: aload #5
    //   2160: astore #4
    //   2162: aload #6
    //   2164: ldc_w 'vod_play_url'
    //   2167: aload #7
    //   2169: invokevirtual toString : ()Ljava/lang/String;
    //   2172: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2175: pop
    //   2176: aload #5
    //   2178: astore #4
    //   2180: aload_1
    //   2181: aload #6
    //   2183: invokevirtual put : (Ljava/lang/Object;)Lorg/json/JSONArray;
    //   2186: pop
    //   2187: aload #5
    //   2189: astore #4
    //   2191: aload #8
    //   2193: ldc_w 'list'
    //   2196: aload_1
    //   2197: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2200: pop
    //   2201: aload #5
    //   2203: astore #4
    //   2205: aload #8
    //   2207: invokevirtual toString : ()Ljava/lang/String;
    //   2210: areturn
    //   2211: aload #5
    //   2213: astore #4
    //   2215: aload #9
    //   2217: ldc_w 'magnet'
    //   2220: invokevirtual startsWith : (Ljava/lang/String;)Z
    //   2223: ifeq -> 2546
    //   2226: aload #5
    //   2228: astore #4
    //   2230: aload #9
    //   2232: invokevirtual length : ()I
    //   2235: bipush #100
    //   2237: if_icmple -> 2319
    //   2240: aload #5
    //   2242: astore #4
    //   2244: new java/lang/StringBuilder
    //   2247: astore_1
    //   2248: aload #5
    //   2250: astore #4
    //   2252: aload_1
    //   2253: invokespecial <init> : ()V
    //   2256: aload #5
    //   2258: astore #4
    //   2260: aload_1
    //   2261: aload #9
    //   2263: iconst_0
    //   2264: bipush #30
    //   2266: invokevirtual substring : (II)Ljava/lang/String;
    //   2269: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2272: pop
    //   2273: aload #5
    //   2275: astore #4
    //   2277: aload_1
    //   2278: ldc_w '...'
    //   2281: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2284: pop
    //   2285: aload #5
    //   2287: astore #4
    //   2289: aload_1
    //   2290: aload #9
    //   2292: aload #9
    //   2294: invokevirtual length : ()I
    //   2297: bipush #10
    //   2299: isub
    //   2300: invokevirtual substring : (I)Ljava/lang/String;
    //   2303: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2306: pop
    //   2307: aload #5
    //   2309: astore #4
    //   2311: aload_1
    //   2312: invokevirtual toString : ()Ljava/lang/String;
    //   2315: astore_1
    //   2316: goto -> 2322
    //   2319: aload #9
    //   2321: astore_1
    //   2322: aload #5
    //   2324: astore #4
    //   2326: new org/json/JSONObject
    //   2329: astore #7
    //   2331: aload #5
    //   2333: astore #4
    //   2335: aload #7
    //   2337: invokespecial <init> : ()V
    //   2340: aload #5
    //   2342: astore #4
    //   2344: new org/json/JSONArray
    //   2347: astore #6
    //   2349: aload #5
    //   2351: astore #4
    //   2353: aload #6
    //   2355: invokespecial <init> : ()V
    //   2358: aload #5
    //   2360: astore #4
    //   2362: new org/json/JSONObject
    //   2365: astore #8
    //   2367: aload #5
    //   2369: astore #4
    //   2371: aload #8
    //   2373: invokespecial <init> : ()V
    //   2376: aload #5
    //   2378: astore #4
    //   2380: aload #8
    //   2382: ldc_w 'vod_id'
    //   2385: aload #9
    //   2387: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2390: pop
    //   2391: aload #5
    //   2393: astore #4
    //   2395: aload #8
    //   2397: ldc_w 'vod_name'
    //   2400: aload_1
    //   2401: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2404: pop
    //   2405: aload #5
    //   2407: astore #4
    //   2409: aload #8
    //   2411: ldc_w 'vod_pic'
    //   2414: ldc_w 'https://img2.baidu.com/it/u=1609185522,4130752057&fm=253&f=JPEG'
    //   2417: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2420: pop
    //   2421: aload #5
    //   2423: astore #4
    //   2425: aload #8
    //   2427: ldc_w 'type_name'
    //   2430: ldc_w '磁力'
    //   2433: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2436: pop
    //   2437: aload #5
    //   2439: astore #4
    //   2441: aload #8
    //   2443: ldc_w 'vod_play_from'
    //   2446: ldc_w '磁力测试'
    //   2449: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2452: pop
    //   2453: aload #5
    //   2455: astore #4
    //   2457: new java/lang/StringBuilder
    //   2460: astore_1
    //   2461: aload #5
    //   2463: astore #4
    //   2465: aload_1
    //   2466: invokespecial <init> : ()V
    //   2469: aload #5
    //   2471: astore #4
    //   2473: aload_1
    //   2474: ldc_w '立即播放$'
    //   2477: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2480: pop
    //   2481: aload #5
    //   2483: astore #4
    //   2485: aload_1
    //   2486: aload #9
    //   2488: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2491: pop
    //   2492: aload #5
    //   2494: astore #4
    //   2496: aload #8
    //   2498: ldc_w 'vod_play_url'
    //   2501: aload_1
    //   2502: invokevirtual toString : ()Ljava/lang/String;
    //   2505: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2508: pop
    //   2509: aload #5
    //   2511: astore #4
    //   2513: aload #6
    //   2515: aload #8
    //   2517: invokevirtual put : (Ljava/lang/Object;)Lorg/json/JSONArray;
    //   2520: pop
    //   2521: aload #5
    //   2523: astore #4
    //   2525: aload #7
    //   2527: ldc_w 'list'
    //   2530: aload #6
    //   2532: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2535: pop
    //   2536: aload #5
    //   2538: astore #4
    //   2540: aload #7
    //   2542: invokevirtual toString : ()Ljava/lang/String;
    //   2545: areturn
    //   2546: aload #5
    //   2548: astore #4
    //   2550: aload #9
    //   2552: ldc_w 'http'
    //   2555: invokevirtual startsWith : (Ljava/lang/String;)Z
    //   2558: ifeq -> 2583
    //   2561: aload #5
    //   2563: astore #4
    //   2565: aload #10
    //   2567: invokevirtual find : ()Z
    //   2570: ifeq -> 2583
    //   2573: aload #5
    //   2575: astore #4
    //   2577: aload_0
    //   2578: aload_1
    //   2579: invokevirtual getAliContent : (Ljava/util/List;)Ljava/lang/String;
    //   2582: areturn
    //   2583: aload #5
    //   2585: astore_1
    //   2586: aload #5
    //   2588: astore #4
    //   2590: aload #9
    //   2592: ldc_w 'http'
    //   2595: invokevirtual startsWith : (Ljava/lang/String;)Z
    //   2598: ifeq -> 2896
    //   2601: aload #5
    //   2603: astore_1
    //   2604: aload #5
    //   2606: astore #4
    //   2608: aload #11
    //   2610: invokevirtual find : ()Z
    //   2613: ifne -> 2896
    //   2616: aload #5
    //   2618: astore_1
    //   2619: aload #5
    //   2621: astore #4
    //   2623: aload #10
    //   2625: invokevirtual find : ()Z
    //   2628: ifne -> 2896
    //   2631: aload #5
    //   2633: astore #4
    //   2635: aload #9
    //   2637: aconst_null
    //   2638: invokestatic oq : (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
    //   2641: invokestatic h : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/HZ;
    //   2644: ldc_w 'head > title'
    //   2647: invokevirtual Pi : (Ljava/lang/String;)Lcom/github/catvod/spider/merge/Dv;
    //   2650: invokevirtual I : ()Ljava/lang/String;
    //   2653: astore #8
    //   2655: aload #5
    //   2657: astore #4
    //   2659: new org/json/JSONObject
    //   2662: astore_1
    //   2663: aload #5
    //   2665: astore #4
    //   2667: aload_1
    //   2668: invokespecial <init> : ()V
    //   2671: aload #5
    //   2673: astore #4
    //   2675: new org/json/JSONArray
    //   2678: astore #6
    //   2680: aload #5
    //   2682: astore #4
    //   2684: aload #6
    //   2686: invokespecial <init> : ()V
    //   2689: aload #5
    //   2691: astore #4
    //   2693: new org/json/JSONObject
    //   2696: astore #7
    //   2698: aload #5
    //   2700: astore #4
    //   2702: aload #7
    //   2704: invokespecial <init> : ()V
    //   2707: aload #5
    //   2709: astore #4
    //   2711: aload #7
    //   2713: ldc_w 'vod_id'
    //   2716: aload #9
    //   2718: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2721: pop
    //   2722: aload #5
    //   2724: astore #4
    //   2726: aload #7
    //   2728: ldc_w 'vod_name'
    //   2731: aload #8
    //   2733: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2736: pop
    //   2737: aload #5
    //   2739: astore #4
    //   2741: aload #7
    //   2743: ldc_w 'vod_pic'
    //   2746: ldc_w 'https://pic.rmb.bdstatic.com/bjh/1d0b02d0f57f0a42201f92caba5107ed.jpeg'
    //   2749: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2752: pop
    //   2753: aload #5
    //   2755: astore #4
    //   2757: aload #7
    //   2759: ldc_w 'type_name'
    //   2762: ldc_w '嗅探'
    //   2765: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2768: pop
    //   2769: aload #5
    //   2771: astore #4
    //   2773: aload #7
    //   2775: ldc_w 'vod_content'
    //   2778: aload #9
    //   2780: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2783: pop
    //   2784: aload #5
    //   2786: astore #4
    //   2788: aload #7
    //   2790: ldc_w 'vod_play_from'
    //   2793: ldc_w '嗅探'
    //   2796: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2799: pop
    //   2800: aload #5
    //   2802: astore #4
    //   2804: new java/lang/StringBuilder
    //   2807: astore #8
    //   2809: aload #5
    //   2811: astore #4
    //   2813: aload #8
    //   2815: invokespecial <init> : ()V
    //   2818: aload #5
    //   2820: astore #4
    //   2822: aload #8
    //   2824: ldc_w '立即播放嗅探$'
    //   2827: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2830: pop
    //   2831: aload #5
    //   2833: astore #4
    //   2835: aload #8
    //   2837: aload #9
    //   2839: invokevirtual append : (Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   2842: pop
    //   2843: aload #5
    //   2845: astore #4
    //   2847: aload #7
    //   2849: ldc_w 'vod_play_url'
    //   2852: aload #8
    //   2854: invokevirtual toString : ()Ljava/lang/String;
    //   2857: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2860: pop
    //   2861: aload #5
    //   2863: astore #4
    //   2865: aload #6
    //   2867: aload #7
    //   2869: invokevirtual put : (Ljava/lang/Object;)Lorg/json/JSONArray;
    //   2872: pop
    //   2873: aload #5
    //   2875: astore #4
    //   2877: aload_1
    //   2878: ldc_w 'list'
    //   2881: aload #6
    //   2883: invokevirtual put : (Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    //   2886: pop
    //   2887: aload #5
    //   2889: astore #4
    //   2891: aload_1
    //   2892: invokevirtual toString : ()Ljava/lang/String;
    //   2895: astore_1
    //   2896: aload_1
    //   2897: areturn
    //   2898: astore_1
    //   2899: aload #4
    //   2901: astore_1
    //   2902: goto -> 2896
    // Exception table:
    //   from	to	target	type
    //   8	20	2898	finally
    //   24	29	2898	finally
    //   33	43	2898	finally
    //   47	56	2898	finally
    //   60	66	2898	finally
    //   84	95	2898	finally
    //   99	110	2898	finally
    //   114	134	2898	finally
    //   138	142	2898	finally
    //   146	150	2898	finally
    //   154	159	2898	finally
    //   163	168	2898	finally
    //   172	177	2898	finally
    //   181	186	2898	finally
    //   190	201	2898	finally
    //   205	216	2898	finally
    //   220	232	2898	finally
    //   236	248	2898	finally
    //   252	263	2898	finally
    //   267	278	2898	finally
    //   282	293	2898	finally
    //   297	308	2898	finally
    //   312	323	2898	finally
    //   327	338	2898	finally
    //   342	354	2898	finally
    //   358	363	2898	finally
    //   367	372	2898	finally
    //   376	385	2898	finally
    //   389	397	2898	finally
    //   401	415	2898	finally
    //   419	427	2898	finally
    //   431	441	2898	finally
    //   445	450	2898	finally
    //   454	462	2898	finally
    //   466	477	2898	finally
    //   481	486	2898	finally
    //   490	495	2898	finally
    //   499	504	2898	finally
    //   508	513	2898	finally
    //   517	522	2898	finally
    //   526	531	2898	finally
    //   535	540	2898	finally
    //   544	549	2898	finally
    //   553	565	2898	finally
    //   569	581	2898	finally
    //   585	594	2898	finally
    //   598	606	2898	finally
    //   614	623	2898	finally
    //   626	637	2898	finally
    //   640	656	2898	finally
    //   659	675	2898	finally
    //   678	687	2898	finally
    //   693	702	1124	finally
    //   705	713	1124	finally
    //   716	725	1124	finally
    //   728	736	1124	finally
    //   739	746	1124	finally
    //   749	762	1124	finally
    //   765	770	1124	finally
    //   773	778	1124	finally
    //   781	789	1124	finally
    //   792	801	1124	finally
    //   804	812	1124	finally
    //   815	828	1124	finally
    //   847	864	1124	finally
    //   884	889	1124	finally
    //   892	897	1124	finally
    //   900	909	1124	finally
    //   912	920	1124	finally
    //   923	937	1124	finally
    //   940	951	1124	finally
    //   954	965	1124	finally
    //   968	980	1124	finally
    //   983	995	1124	finally
    //   1001	1011	2898	finally
    //   1014	1023	2898	finally
    //   1026	1035	2898	finally
    //   1038	1048	2898	finally
    //   1051	1061	2898	finally
    //   1064	1075	2898	finally
    //   1078	1090	2898	finally
    //   1093	1101	2898	finally
    //   1104	1115	2898	finally
    //   1118	1124	2898	finally
    //   1138	1146	2898	finally
    //   1150	1161	2898	finally
    //   1165	1170	2898	finally
    //   1174	1179	2898	finally
    //   1183	1188	2898	finally
    //   1192	1197	2898	finally
    //   1201	1206	2898	finally
    //   1210	1215	2898	finally
    //   1219	1224	2898	finally
    //   1228	1233	2898	finally
    //   1237	1250	2898	finally
    //   1254	1262	2898	finally
    //   1266	1270	2898	finally
    //   1274	1278	2898	finally
    //   1282	1290	2898	finally
    //   1294	1305	2898	finally
    //   1309	1315	2898	finally
    //   1319	1323	2898	finally
    //   1327	1339	2898	finally
    //   1343	1364	2898	finally
    //   1368	1373	2898	finally
    //   1377	1395	2898	finally
    //   1399	1407	2898	finally
    //   1416	1425	2898	finally
    //   1429	1437	2898	finally
    //   1441	1458	2898	finally
    //   1462	1472	2898	finally
    //   1476	1486	2898	finally
    //   1490	1495	2898	finally
    //   1499	1504	2898	finally
    //   1508	1517	2898	finally
    //   1521	1533	2898	finally
    //   1537	1546	2898	finally
    //   1550	1558	2898	finally
    //   1562	1571	2898	finally
    //   1575	1582	2898	finally
    //   1586	1591	2898	finally
    //   1595	1600	2898	finally
    //   1604	1612	2898	finally
    //   1616	1625	2898	finally
    //   1629	1637	2898	finally
    //   1641	1654	2898	finally
    //   1667	1684	2898	finally
    //   1695	1700	2898	finally
    //   1704	1709	2898	finally
    //   1713	1722	2898	finally
    //   1726	1734	2898	finally
    //   1738	1752	2898	finally
    //   1771	1782	2898	finally
    //   1786	1797	2898	finally
    //   1801	1813	2898	finally
    //   1817	1829	2898	finally
    //   1833	1844	2898	finally
    //   1848	1859	2898	finally
    //   1863	1874	2898	finally
    //   1878	1889	2898	finally
    //   1893	1904	2898	finally
    //   1908	1919	2898	finally
    //   1923	1935	2898	finally
    //   1939	1947	2898	finally
    //   1951	1960	2898	finally
    //   1964	1970	2898	finally
    //   1977	1985	2898	finally
    //   1989	1994	2898	finally
    //   1998	2003	2898	finally
    //   2007	2011	2898	finally
    //   2015	2019	2898	finally
    //   2023	2028	2898	finally
    //   2032	2037	2898	finally
    //   2041	2052	2898	finally
    //   2056	2067	2898	finally
    //   2071	2083	2898	finally
    //   2087	2099	2898	finally
    //   2103	2115	2898	finally
    //   2119	2124	2898	finally
    //   2128	2133	2898	finally
    //   2137	2146	2898	finally
    //   2150	2158	2898	finally
    //   2162	2176	2898	finally
    //   2180	2187	2898	finally
    //   2191	2201	2898	finally
    //   2205	2211	2898	finally
    //   2215	2226	2898	finally
    //   2230	2240	2898	finally
    //   2244	2248	2898	finally
    //   2252	2256	2898	finally
    //   2260	2273	2898	finally
    //   2277	2285	2898	finally
    //   2289	2307	2898	finally
    //   2311	2316	2898	finally
    //   2326	2331	2898	finally
    //   2335	2340	2898	finally
    //   2344	2349	2898	finally
    //   2353	2358	2898	finally
    //   2362	2367	2898	finally
    //   2371	2376	2898	finally
    //   2380	2391	2898	finally
    //   2395	2405	2898	finally
    //   2409	2421	2898	finally
    //   2425	2437	2898	finally
    //   2441	2453	2898	finally
    //   2457	2461	2898	finally
    //   2465	2469	2898	finally
    //   2473	2481	2898	finally
    //   2485	2492	2898	finally
    //   2496	2509	2898	finally
    //   2513	2521	2898	finally
    //   2525	2536	2898	finally
    //   2540	2546	2898	finally
    //   2550	2561	2898	finally
    //   2565	2573	2898	finally
    //   2577	2583	2898	finally
    //   2590	2601	2898	finally
    //   2608	2616	2898	finally
    //   2623	2631	2898	finally
    //   2635	2655	2898	finally
    //   2659	2663	2898	finally
    //   2667	2671	2898	finally
    //   2675	2680	2898	finally
    //   2684	2689	2898	finally
    //   2693	2698	2898	finally
    //   2702	2707	2898	finally
    //   2711	2722	2898	finally
    //   2726	2737	2898	finally
    //   2741	2753	2898	finally
    //   2757	2769	2898	finally
    //   2773	2784	2898	finally
    //   2788	2800	2898	finally
    //   2804	2809	2898	finally
    //   2813	2818	2898	finally
    //   2822	2831	2898	finally
    //   2835	2843	2898	finally
    //   2847	2861	2898	finally
    //   2865	2873	2898	finally
    //   2877	2887	2898	finally
    //   2891	2896	2898	finally
  }
  
  public String getAliContent(List<String> paramList) {
    byte b = 0;
    try {
      String str1;
      String str3 = ((String)paramList.get(0)).trim();
      Matcher matcher = W.matcher(str3);
      if (!matcher.find())
        return ""; 
      String str2 = matcher.group(1);
      if (matcher.groupCount() == 3) {
        str1 = matcher.group(3);
      } else {
        str1 = "";
      } 
      JSONObject jSONObject2 = new JSONObject();
      this();
      jSONObject2.put("share_id", str2);
      HashMap<String, String> hashMap = h();
      JSONObject jSONObject3 = new JSONObject();
      this(V0("https://api.aliyundrive.com/adrive/v3/share_link/get_share_by_anonymous", jSONObject2.toString(), hashMap));
      JSONArray jSONArray = jSONObject3.getJSONArray("file_infos");
      if (jSONArray.length() == 0)
        return ""; 
      jSONObject2 = null;
      boolean bool = TextUtils.isEmpty(str1);
      if (!bool) {
        byte b1 = 0;
        while (true) {
          JSONObject jSONObject;
          if (b1 >= jSONArray.length()) {
            jSONObject = jSONObject2;
          } else {
            jSONObject = jSONArray.getJSONObject(b1);
            if (!jSONObject.getString("file_id").equals(jSONObject.getString("file_id"))) {
              b1++;
              continue;
            } 
          } 
          jSONObject2 = jSONObject;
          if (jSONObject == null)
            return ""; 
          break;
        } 
      } else {
        jSONObject2 = jSONArray.getJSONObject(0);
        str1 = jSONObject2.getString("file_id");
      } 
      JSONObject jSONObject1 = new JSONObject();
      this();
      jSONObject1.put("vod_id", str3);
      jSONObject1.put("vod_name", jSONObject3.getString("share_name"));
      jSONObject1.put("vod_pic", jSONObject3.getString("avatar"));
      jSONObject1.put("vod_content", str3);
      jSONObject1.put("vod_play_from", "AliYun");
      ArrayList<String> arrayList1 = new ArrayList();
      this();
      if (!jSONObject2.getString("type").equals("folder")) {
        if (jSONObject2.getString("type").equals("file"))
          jSONObject2.getString("category").equals("video"); 
        return "";
      } 
      String str4 = I(str2, "");
      HashMap<Object, Object> hashMap1 = new HashMap<Object, Object>();
      this();
      listFiles((Map)hashMap1, str2, str4, str1);
      ArrayList<Comparable> arrayList = new ArrayList();
      this(hashMap1.keySet());
      Collections.sort(arrayList);
      Iterator<Comparable> iterator = arrayList.iterator();
      while (true) {
        JSONArray jSONArray1;
        if (!iterator.hasNext()) {
          arrayList = new ArrayList<Comparable>();
          this();
          for (byte b1 = b; b1 < 4; b1++)
            arrayList.add(TextUtils.join("#", arrayList1)); 
          jSONObject1.put("vod_play_url", TextUtils.join("$$$", arrayList));
          JSONObject jSONObject = new JSONObject();
          this();
          jSONArray1 = new JSONArray();
          this();
          jSONArray1.put(jSONObject1);
          jSONObject.put("list", jSONArray1);
          return jSONObject.toString();
        } 
        str4 = (String)iterator.next();
        StringBuilder stringBuilder = new StringBuilder();
        this();
        stringBuilder.append(str4);
        stringBuilder.append("$");
        stringBuilder.append((String)jSONArray1.get(str4));
        arrayList1.add(stringBuilder.toString());
      } 
    } catch (Exception exception) {
      SpiderDebug.log(exception);
      return "";
    } 
  }
  
  public void init(Context paramContext, String paramString) {
    super.init(paramContext, paramString);
    if (paramString.startsWith("http")) {
      u = fP.oq(paramString, null);
    } else {
      u = paramString;
    } 
  }
  
  public void listFiles(Map<String, String> paramMap, String paramString1, String paramString2, String paramString3) {
    String str1 = "_";
    String str2 = "https://api.aliyundrive.com/adrive/v3/file/list";
    try {
      HashMap<String, String> hashMap = h();
      hashMap.put("x-share-token", paramString2);
      JSONObject jSONObject2 = new JSONObject();
      this();
      jSONObject2.put("image_thumbnail_process", "image/resize,w_160/format,jpeg");
      jSONObject2.put("image_url_process", "image/resize,w_1920/format,jpeg");
      jSONObject2.put("limit", 200);
      jSONObject2.put("order_by", "updated_at");
      jSONObject2.put("order_direction", "DESC");
      jSONObject2.put("parent_file_id", paramString3);
      jSONObject2.put("share_id", paramString1);
      jSONObject2.put("video_thumbnail_process", "video/snapshot,t_1000,f_jpg,ar_auto,w_300");
      String str = "";
      ArrayList<String> arrayList = new ArrayList();
      this();
      byte b = 1;
      JSONObject jSONObject1 = jSONObject2;
      while (b <= 50 && (b < 2 || !TextUtils.isEmpty(str))) {
        jSONObject1.put("marker", str);
        JSONObject jSONObject = new JSONObject();
        this(V0(str2, jSONObject1.toString(), hashMap));
        JSONArray jSONArray = jSONObject.getJSONArray("items");
        for (byte b1 = 0; b1 < jSONArray.length(); b1++) {
          JSONObject jSONObject3 = jSONArray.getJSONObject(b1);
          boolean bool = jSONObject3.getString("type").equals("folder");
          if (bool) {
            arrayList.add(jSONObject3.getString("file_id"));
          } else if (jSONObject3.getString("mime_type").contains("video")) {
            str = jSONObject3.getString("name").replace("#", str1).replace("$", str1);
            if (str.length() > 20) {
              StringBuilder stringBuilder1 = new StringBuilder();
              this();
              stringBuilder1.append(str.substring(0, 10));
              stringBuilder1.append("...");
              stringBuilder1.append(str.substring(str.length() - 10));
              str = stringBuilder1.toString();
            } 
            String str3 = jSONObject3.getString("file_id");
            StringBuilder stringBuilder = new StringBuilder();
            this();
            stringBuilder.append(paramString1);
            stringBuilder.append("+");
            stringBuilder.append(paramString2);
            stringBuilder.append("+");
            stringBuilder.append(str3);
            paramMap.put(str, stringBuilder.toString());
          } 
        } 
        str = jSONObject.getString("next_marker");
        b++;
      } 
      Iterator<String> iterator = arrayList.iterator();
      while (true) {
        if (iterator.hasNext()) {
          String str3 = iterator.next();
          try {
            listFiles(paramMap, paramString1, paramString2, str3);
            continue;
          } catch (Exception null) {
            try {
              SpiderDebug.log(exception);
              return;
            } catch (Exception exception) {}
          } 
        } else {
          break;
        } 
        SpiderDebug.log(exception);
      } 
    } catch (Exception exception) {
      SpiderDebug.log(exception);
    } 
  }
  
  public String playerContent(String paramString1, String paramString2, List<String> paramList) {
    byte b = -1;
    try {
      JSONObject jSONObject;
      int i = paramString1.hashCode();
      if (i != -985752863) {
        if (i != 3406) {
          if (i != 706173) {
            if (i == 1963852404 && paramString1.equals("AliYun"))
              b = 3; 
          } else if (paramString1.equals("嗅探")) {
            b = 2;
          } 
        } else if (paramString1.equals("jx")) {
          b = 0;
        } 
      } else {
        boolean bool = paramString1.equals("player");
        if (bool)
          b = 1; 
      } 
      if (b != 0) {
        if (b != 1) {
          if (b != 2) {
            if (b == 3) {
              oC();
              String[] arrayOfString = paramString2.split("\\+");
              paramString1 = arrayOfString[0];
              String str = arrayOfString[2];
              StringBuilder stringBuilder = new StringBuilder();
              this();
              stringBuilder.append(Proxy.localProxyUrl());
              stringBuilder.append("?do=push&type=m3u8&share_id=");
              stringBuilder.append(paramString1);
              stringBuilder.append("&file_id=");
              stringBuilder.append(str);
              paramString1 = stringBuilder.toString();
              jSONObject = new JSONObject();
              this();
              jSONObject.put("parse", "0");
              jSONObject.put("playUrl", "");
              jSONObject.put("url", paramString1);
              jSONObject.put("header", "");
              return jSONObject.toString();
            } 
          } else {
            JSONObject jSONObject1 = new JSONObject();
            this();
            jSONObject1.put("parse", 1);
            jSONObject1.put("playUrl", "");
            jSONObject1.put("url", jSONObject);
            return jSONObject1.toString();
          } 
        } else {
          JSONObject jSONObject1 = new JSONObject();
          this();
          jSONObject1.put("parse", 0);
          jSONObject1.put("playUrl", "");
          jSONObject1.put("url", jSONObject);
          return jSONObject1.toString();
        } 
      } else {
        JSONObject jSONObject1 = new JSONObject();
        this();
        jSONObject1.put("parse", 1);
        jSONObject1.put("jx", "1");
        jSONObject1.put("url", jSONObject);
        return jSONObject1.toString();
      } 
    } catch (Exception exception) {
      exception.printStackTrace();
      SpiderDebug.log(exception);
    } 
    return "";
  }
}


/* Location:              /Users/hetaiyi/Desktop/my/tech/java/study/aa/temp/temp.jar!/com/github/catvod/spider/PushAgent.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */